import { get, post } from "../request";

const devDevices = {
  queryByPage(pageDto) {
    return post("/devDevices/queryByPage", pageDto);
  },
  add(devDevices) {
    return post("/devDevices/add", devDevices);
  },
  edit(devDevices) {
    return post("/devDevices/edit", devDevices);
  },
  deleteById(id) {
    return get("/devDevices/deleteById", id);
  },
  queryById(id) {
    return get("/devDevices/queryById", id);
  },
};

export default devDevices;
